# encoding: utf-8
#
# Copyright 2011, Google Inc. All Rights Reserved.

"""Sample live stream gadget
"""

__author__ = 'lbayliss@google.com (Leon Bayliss)'

import os
from google.appengine.ext import webapp
from google.appengine.ext.webapp import template
from google.appengine.ext.webapp.util import run_wsgi_app

class MainPage(webapp.RequestHandler):
  
  def get(self):
    view_path = os.path.join(os.path.dirname(__file__), 'gadget.html')
    self.response.out.write(template.render(view_path, {}))

application = webapp.WSGIApplication(
                                      [('/', MainPage)],
                                      debug=True)

def main():
  run_wsgi_app(application)


if __name__ == "__main__":
  main()